package com.service;

import org.springframework.stereotype.Service;

import com.common.utils.base.UuidUtil;
import com.entity.Trade;
import com.service.base.BaseServiceImp;

@Service("TradeService")
public class TradeServiceImpl extends BaseServiceImp<Trade> implements TradeService{

	@Override
	public String insert(Trade o) {
		o.setId(UuidUtil.get32UUID());
		baseDao.insert(o);
		return o.getId();
	}
}
